package ipt.dao.alu06;

import java.io.File;

public class ConnectionFactoryTXT {

	private static final String PATH_FILE = "data/Alumnos.txt";

    private static ConnectionFactoryTXT connectionFactory = null;

    private ConnectionFactoryTXT() {
    	super();
    }

    public File getConnection() {
    		File archivo = new File(PATH_FILE);
            return archivo;
    }

    public static ConnectionFactoryTXT getInstance() {
            if (connectionFactory == null) {
                    connectionFactory = new ConnectionFactoryTXT();
            }
            return connectionFactory;
    }

}
